package com.egg.auth.enums.account;


import com.egg.common.swagger.annotation.SwaggerDisplayAnnotation;
import lombok.AllArgsConstructor;
import lombok.Getter;


/**
 * 状态枚举类
 *
 * @author east
 */
@Getter
@SwaggerDisplayAnnotation
@AllArgsConstructor
public enum AccountStateEnum {


    STOP("停用", "stop"),
    ENABLED("启用", "enabled"),
    ;


    private String message;
    private String code;


    @Override
    public String toString() {
        return message + ":" + code;
    }
}
